﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NCHQMES
{
    /// <summary>
    /// 软件打开时接口
    /// </summary>
    [Serializable]
    public class SCADA_Startup
    {
        /// <summary>
        /// 发送数据
        /// </summary>
        [Serializable]
        public class Write : CommonClass.Common_WriteHead
        {
            public MAIN MAIN = new MAIN();
        }

        /// <summary>
        /// 接收数据
        /// </summary>
        [Serializable]
        public class Read : CommonClass.Common_ReadHead
        {
            public MAIN MAIN = new MAIN();
        }

        /// <summary>
        /// MAIN结构
        /// </summary>
        [Serializable]
        public class MAIN : CommonClass.Common_Main
        {
            public MAIN()
            {
                EQSN = "";
                OperatorName = "";
                HostName = "";
                IP = "";
                SoftwareName = "";
                SoftwareStartTime = "";
            }

            /// <summary>
            /// 软件名称及版本
            /// </summary>
            public string SoftwareName = "";

            /// <summary>
            /// 软件开启时间
            /// </summary>
            public string SoftwareStartTime = "";
        }
    }
}